{% extends "BiblibaseUserBundle::layout.html.twig" %}

 
{% block biblibaseuser_body %}
	<ul id="twoColumns">
		<li class="column" id="columnImg">
			<img src="{{asset('img/Book_by_OlivierLD.jpg')}}" alt="img accueil" id="imgAccueil"/>
		</li>
		<li class="column" id="connexion">
			<h2>Connexion</h2>
			{% if error %}
				<div class="error">Erreur: {{ error.message }}</div>
			{% endif %}
			<form action="{{ path('login_check') }}" method="post">
    			 <input type="text" id="username" name="_username" value="{{ last_username }}" placeholder="Utilisateur" />
 				 </br>
    			 <input type="password" id="password" name="_password" placeholder="Mot de passe"/>
    			 <br />
    			 <input type="submit" value="Connexion" />
  			</form>
		</li>
	</ul>	
{% endblock %}
